<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class PayRoll extends CI_Controller {
 function __construct()
 {
   parent::__construct();
   $this->load->model('muser');
   $this->load->library('form_validation');
   $this->load->library('pagination');
   $this->load->helper('date');
 }
 function index(){		
	 $this->load->view('_header');
     $this->load->view('payRoll/payRoll_view',$data); 
     $this->load->view('_footer');
	}
 function getSalary($date){
 	$result=$this->muser->getAllStaff($date);
	foreach ($result as $row){
		 
		
		
	}
	
 }
 
  
}